package org.qu.vo;

import java.sql.Timestamp;

/**
 * IsnsMsgInbox entity. @author MyEclipse Persistence Tools
 */

public class IsnsMsgInbox implements java.io.Serializable {

	// Fields

	private Integer messId;
	private String messTitle;
	private String messContent;
	private Integer fromUserId;
	private String fromUser;
	private String fromUserIco;
	private Integer userId;
	private Timestamp addTime;
	private Integer mesinitId;
	private Short readed;

	// Constructors

	/** default constructor */
	public IsnsMsgInbox() {
	}

	/** minimal constructor */
	public IsnsMsgInbox(Integer fromUserId, Integer userId) {
		this.fromUserId = fromUserId;
		this.userId = userId;
	}

	/** full constructor */
	public IsnsMsgInbox(String messTitle, String messContent,
			Integer fromUserId, String fromUser, String fromUserIco,
			Integer userId, Timestamp addTime, Integer mesinitId, Short readed) {
		this.messTitle = messTitle;
		this.messContent = messContent;
		this.fromUserId = fromUserId;
		this.fromUser = fromUser;
		this.fromUserIco = fromUserIco;
		this.userId = userId;
		this.addTime = addTime;
		this.mesinitId = mesinitId;
		this.readed = readed;
	}

	// Property accessors

	public Integer getMessId() {
		return this.messId;
	}

	public void setMessId(Integer messId) {
		this.messId = messId;
	}

	public String getMessTitle() {
		return this.messTitle;
	}

	public void setMessTitle(String messTitle) {
		this.messTitle = messTitle;
	}

	public String getMessContent() {
		return this.messContent;
	}

	public void setMessContent(String messContent) {
		this.messContent = messContent;
	}

	public Integer getFromUserId() {
		return this.fromUserId;
	}

	public void setFromUserId(Integer fromUserId) {
		this.fromUserId = fromUserId;
	}

	public String getFromUser() {
		return this.fromUser;
	}

	public void setFromUser(String fromUser) {
		this.fromUser = fromUser;
	}

	public String getFromUserIco() {
		return this.fromUserIco;
	}

	public void setFromUserIco(String fromUserIco) {
		this.fromUserIco = fromUserIco;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Timestamp getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}

	public Integer getMesinitId() {
		return this.mesinitId;
	}

	public void setMesinitId(Integer mesinitId) {
		this.mesinitId = mesinitId;
	}

	public Short getReaded() {
		return this.readed;
	}

	public void setReaded(Short readed) {
		this.readed = readed;
	}

}